package business;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;

import com.zmht.specedu.frame.util.ConstantsVars;
import com.zmht.specedu.vo.Teacher;


public abstract class BaseServlet extends HttpServlet {
	protected Teacher getCurrentUser(HttpServletRequest request){
		return (Teacher) request.getSession().getAttribute(
				ConstantsVars.USER_SESSEION_KEY);
	}
}
